//
//  XQCornerShadowView.swift
//  Spark Peso
//
//  Created by 小琦 on 2025/2/3.
//

import UIKit

class XQCornerShadowView<T: UIView>: UIView {

    var childView: T = T()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        configBaseUI()
    }
    
    private func configBaseUI() {
        childView = T()
        addSubview(childView)
        childView.frame = bounds
    }
  
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
